package kassiopeia.commons.io;

import kassiopeia.commons.io.Message;
import kassiopeia.commons.model.task.TaskDescriptor;

public class TaskMessage extends Message {

    private static final long serialVersionUID = -8548286612938005218L;
    private static final String SOURCE_ID = "TASK_REQUESTOR";

    private TaskDescriptor task;

    public TaskMessage(TaskDescriptor task) {
        super(SOURCE_ID);
        this.task = task;
    }

    public TaskDescriptor getTask() {
        return task;
    }
}
